package com.haste.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName:Dept
 * @Description:部门表
 * @Author:Haste
 * @Date:2021/2/1 16:20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)//链式写法dept.setDeptName().setDeptId();
public class Dept implements Serializable {
    private Long deptId;
    private String deptName;
    //看字段来自哪个数据库
    private String dbSource;

    public Dept(String deptName) {
        this.deptName = deptName;
    }

}
